<!DOCTYPE html>
<html>
<head>
	<title>推送记录</title>
	{{>/WEB-INF/pages/common/head_refs.part.html}}
</head>
<body>
{{>/WEB-INF/pages/common/layout_header.part.html}}
<div class="container">
	<ul class="breadcrumb">
	  <li><a href="{{ctx}}">首页</a> <span class="divider">/</span></li>
	  <li><a href="{{ctx}}/push">推送记录</a> <span class="divider">/</span></li>
	  <li class="active">消息发送明细</li>
	</ul>
	{{#message}}
		<div id="message" class="alert alert-success"><button data-dismiss="alert" class="close">×</button>${message}</div>
	{{/message}}
	<div>
		<button class="btn" onclick="history.back()">返回</button>
	</div>
	<br/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead><tr>
		<th>设备ID</th><th>应用ID</th><th>用户名</th><th>渠道ID</th><th>当前状态</th><th>消息内容</th><th>创建时间</th>
		</tr></thead>
		<tbody>
		{{#pushs.content}}		
			<tr>
				<td>{{target.deviceId}}</td>
				<td>{{target.appId}}</td>
				<td>{{target.alias}}</td>
				<td>{{channelId}}</td>
				<td>
				{{#failure}}
				<span data-toggle="tooltip" title="错误信息:{{lastErrorMsg}}">{{status}}</span>
				{{/failure}}
				{{^failure}}
				{{status}}
				{{/failure}}
				</td>
				<td>
				{{#message}}
					{{>/WEB-INF/pages/push/message.part.html}}
				{{/message}}
				</td>
				<td>{{createTime}}</td>
			</tr>
		{{/pushs.content}}
		</tbody>
	</table>
	{{#page}}
	{{>/WEB-INF/pages/common/pagination.part.html}}
	{{/page}}
	{{>/WEB-INF/pages/common/layout_footer.part.html}}
</div>	
</body>
</html>
